#!/usr/bin/env rake
# Copyright (C) 2003-2011 Wang Pengcheng <wpc0000@gmail.com>
# , released under the MIT license
# You may obtain a template of the MIT License at
# http://www.opensource.org/licenses/mit-license.php
$KCODE = 'utf8'

require 'script/hgrake.rb'

task :default => :install
desc 'Install the App to Device'
task :install do
  sh 'ant','install'
end

desc 'Release the App'
task :release do
  sh 'ant', 'release'
  sh 'mv', 'bin/Main-release.apk', 'dist/MarketBillManager-lastest-version.apk'
end
